package cn.gok.datasource.factoty;

import cn.gok.datasource.config.GokMySQLDataSource;
import cn.gok.datasource.session.GokSQLSesseion;

/**
 * @author: chen fan
 * @since: 2022/11/16 17:41
 * @description:
 */
public class GokMySqlFactory {

    private GokMySQLDataSource dataSource;
    public GokMySqlFactory(GokMySQLDataSource dataSource){
        System.out.println("获取到数据源，开始创建GokMySqlFactory对象");
        System.out.println("开始连接数据.....");


        this.dataSource = dataSource;
    }


    public GokSQLSesseion openGokSQLSesseion() {
        return new GokSQLSesseion();
    }
}
